<template>
  <div class="home">
    <h2>Home View</h2>
    <h2>doubleCount：{{userStore.doubleCount}}</h2>
    <h2>doubleCountAddOne：{{userStore.doubleCountAddOne}}</h2>
    <h2>friend-2：{{userStore.getFriendById(2)}}</h2>
    <h2>showMessage：{{userStore.showMessage}}</h2>
  </div>
</template>

<script setup>
 import userCounter from "../stores/counter.js"
 const userStore=userCounter()
</script>